<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="http://www.google.com/jsapi"></script>

</head>
<body>
	<form action="jersey/jersey/media" enctype='multipart/form-data' method="post">
		 <input type=file name="update"><br/>
		 <input type=file name="image"><br/>
		  <input type=input name="name"><br/>
	      <input type=submit name="press" value="OK">
		
	</form>
	<br/>
	<input type="button" value="getJsonPValue" id="bj" onclick="callJsonp()"/>
	<script type="text/javascript">
		 google.load("jquery", "1");

		 function callJsonp(){	

			 $.getJSON("http://192.168.1.175/jersey-test/jersey/jersey/jsonp/callback=?",
				      function (data) {
				       		alert(data.name);
				      });
	     }
	</script>
</body>
</html>